package cn.com.customer.manager.ui.customer.add


import cn.com.customer.manager.base.BasePresenter
import cn.com.customer.manager.base.BaseView
import cn.com.customer.manager.bean.AddCustomer
import cn.com.customer.manager.bean.GroupResult
import cn.com.customer.manager.bean.Tag
import com.xuexiang.xhttp2.subsciber.impl.IProgressLoader

interface AddCustomerContract {
    interface View : BaseView<Presenter> {
        fun setTags(tags:List<Tag>)
        fun setGroupList(data: GroupResult)
        fun addSuccess()
    }

    interface Presenter : BasePresenter {
        fun getTags()
        fun addCustomer(params:AddCustomer, pathUrl:String, mIProgressLoader: IProgressLoader)
        fun getGroupList()
    }
}